//
//  YSDownLoadBaseTVC.h
//  YSDownLoadManager_Example
//
//  Created by Kyson on 2018/12/4.
//  Copyright © 2018 kysonyangs. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef UITableViewCell *(^GetCellBlock)(UITableView *tableView, NSIndexPath *indexPath);
typedef CGFloat (^GetHeightBlock)(id model);
typedef void (^BindBlock)(__kindof UITableViewCell *cell, id model);

@interface YSDownLoadBaseTVC : UITableViewController

- (void)setUpWithDataSouce:(NSArray *)dataSource getCell:(GetCellBlock)cellBlock cellHeight:(GetHeightBlock)cellHeightBlock bind: (BindBlock)bindBlock;

@end
